package entity;

import java.util.Date;

public class Users {
	private int id;
	private String username;
	private String password;
	private Date lastlogintime;
	private int isadmin;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getLastlogintime() {
		return lastlogintime;
	}
	public void setLastlogintime(Date lastlogintime) {
		this.lastlogintime = lastlogintime;
	}
	public int getIsadmin() {
		return isadmin;
	}
	public void setIsadmin(int isadmin) {
		this.isadmin = isadmin;
	}
	public Users() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Users(int id, String username, String password, Date lastlogintime, int isadmin) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
		this.lastlogintime = lastlogintime;
		this.isadmin = isadmin;
	}
	public Users(String username, String password, Date lastlogintime, int isadmin) {
		super();
		this.username = username;
		this.password = password;
		this.lastlogintime = lastlogintime;
		this.isadmin = isadmin;
	}
	
}
